Telegram Group & Telegram Channel
#вопрос263

Напишите функцию, которая будет принимать строку (на английском языке) и возвращать сумму значений гласных букв. Каждой гласной букве соответствует какое-то число: A = 4, E = 3, I = 1, O = 0, U = 0.

Регистр букв роли не играет.

Примеры:

sum_of_vowels("Let\'s test this function.") ➞ 8
sum_of_vowels("Do I get the correct output?") ➞ 10
sum_of_vowels("I love edabit!") ➞ 12



tg-me.com/pythonjuniorjob/905
Create:
Last Update:

#вопрос263

Напишите функцию, которая будет принимать строку (на английском языке) и возвращать сумму значений гласных букв. Каждой гласной букве соответствует какое-то число: A = 4, E = 3, I = 1, O = 0, U = 0.

Регистр букв роли не играет.

Примеры:

sum_of_vowels("Let\'s test this function.") ➞ 8
sum_of_vowels("Do I get the correct output?") ➞ 10
sum_of_vowels("I love edabit!") ➞ 12

BY Python вопросы на собеседовании с ответами


Warning: Undefined variable $i in /var/www/tg-me/post.php on line 283

Share with your friend now:
tg-me.com/pythonjuniorjob/905

View MORE
Open in Telegram


Python вопросы на собеседовании с ответами Telegram | DID YOU KNOW?

Date: |

The messaging service and social-media platform owes creditors roughly $700 million by the end of April, according to people briefed on the company’s plans and loan documents viewed by The Wall Street Journal. At the same time, Telegram Group Inc. must cover rising equipment and bandwidth expenses because of its rapid growth, despite going years without attempting to generate revenue.

Tata Power whose core business is to generate, transmit and distribute electricity has made no money to investors in the last one decade. That is a big blunder considering it is one of the largest power generation companies in the country. One of the reasons is the company's huge debt levels which stood at ₹43,559 crore at the end of March 2021 compared to the company’s market capitalisation of ₹44,447 crore.

Python вопросы на собеседовании с ответами from kr


Telegram Python вопросы на собеседовании с ответами
FROM USA